package com.autohome.wz.business.order.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WzGasstationtagExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WzGasstationtagExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andStationidIsNull() {
            addCriterion("stationId is null");
            return (Criteria) this;
        }

        public Criteria andStationidIsNotNull() {
            addCriterion("stationId is not null");
            return (Criteria) this;
        }

        public Criteria andStationidEqualTo(Integer value) {
            addCriterion("stationId =", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidNotEqualTo(Integer value) {
            addCriterion("stationId <>", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidGreaterThan(Integer value) {
            addCriterion("stationId >", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidGreaterThanOrEqualTo(Integer value) {
            addCriterion("stationId >=", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidLessThan(Integer value) {
            addCriterion("stationId <", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidLessThanOrEqualTo(Integer value) {
            addCriterion("stationId <=", value, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidIn(List<Integer> values) {
            addCriterion("stationId in", values, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidNotIn(List<Integer> values) {
            addCriterion("stationId not in", values, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidBetween(Integer value1, Integer value2) {
            addCriterion("stationId between", value1, value2, "stationid");
            return (Criteria) this;
        }

        public Criteria andStationidNotBetween(Integer value1, Integer value2) {
            addCriterion("stationId not between", value1, value2, "stationid");
            return (Criteria) this;
        }

        public Criteria andTagnameIsNull() {
            addCriterion("tagName is null");
            return (Criteria) this;
        }

        public Criteria andTagnameIsNotNull() {
            addCriterion("tagName is not null");
            return (Criteria) this;
        }

        public Criteria andTagnameEqualTo(String value) {
            addCriterion("tagName =", value, "tagname");
            return (Criteria) this;
        }

        public Criteria andTagnameNotEqualTo(String value) {
            addCriterion("tagName <>", value, "tagname");
            return (Criteria) this;
        }

        public Criteria andTagnameGreaterThan(String value) {
            addCriterion("tagName >", value, "tagname");
            return (Criteria) this;
        }

        public Criteria andTagnameGreaterThanOrEqualTo(String value) {
            addCriterion("tagName >=", value, "tagname");
            return (Criteria) this;
        }

        public Criteria andTagnameLessThan(String value) {
            addCriterion("tagName <", value, "tagname");
            return (Criteria) this;
        }

        public Criteria andTagnameLessThanOrEqualTo(String value) {
            addCriterion("tagName <=", value, "tagname");
            return (Criteria) this;
        }

        public Criteria andTagnameLike(String value) {
            addCriterion("tagName like", value, "tagname");
            return (Criteria) this;
        }

        public Criteria andTagnameNotLike(String value) {
            addCriterion("tagName not like", value, "tagname");
            return (Criteria) this;
        }

        public Criteria andTagnameIn(List<String> values) {
            addCriterion("tagName in", values, "tagname");
            return (Criteria) this;
        }

        public Criteria andTagnameNotIn(List<String> values) {
            addCriterion("tagName not in", values, "tagname");
            return (Criteria) this;
        }

        public Criteria andTagnameBetween(String value1, String value2) {
            addCriterion("tagName between", value1, value2, "tagname");
            return (Criteria) this;
        }

        public Criteria andTagnameNotBetween(String value1, String value2) {
            addCriterion("tagName not between", value1, value2, "tagname");
            return (Criteria) this;
        }

        public Criteria andTagimageurlIsNull() {
            addCriterion("tagImageUrl is null");
            return (Criteria) this;
        }

        public Criteria andTagimageurlIsNotNull() {
            addCriterion("tagImageUrl is not null");
            return (Criteria) this;
        }

        public Criteria andTagimageurlEqualTo(String value) {
            addCriterion("tagImageUrl =", value, "tagimageurl");
            return (Criteria) this;
        }

        public Criteria andTagimageurlNotEqualTo(String value) {
            addCriterion("tagImageUrl <>", value, "tagimageurl");
            return (Criteria) this;
        }

        public Criteria andTagimageurlGreaterThan(String value) {
            addCriterion("tagImageUrl >", value, "tagimageurl");
            return (Criteria) this;
        }

        public Criteria andTagimageurlGreaterThanOrEqualTo(String value) {
            addCriterion("tagImageUrl >=", value, "tagimageurl");
            return (Criteria) this;
        }

        public Criteria andTagimageurlLessThan(String value) {
            addCriterion("tagImageUrl <", value, "tagimageurl");
            return (Criteria) this;
        }

        public Criteria andTagimageurlLessThanOrEqualTo(String value) {
            addCriterion("tagImageUrl <=", value, "tagimageurl");
            return (Criteria) this;
        }

        public Criteria andTagimageurlLike(String value) {
            addCriterion("tagImageUrl like", value, "tagimageurl");
            return (Criteria) this;
        }

        public Criteria andTagimageurlNotLike(String value) {
            addCriterion("tagImageUrl not like", value, "tagimageurl");
            return (Criteria) this;
        }

        public Criteria andTagimageurlIn(List<String> values) {
            addCriterion("tagImageUrl in", values, "tagimageurl");
            return (Criteria) this;
        }

        public Criteria andTagimageurlNotIn(List<String> values) {
            addCriterion("tagImageUrl not in", values, "tagimageurl");
            return (Criteria) this;
        }

        public Criteria andTagimageurlBetween(String value1, String value2) {
            addCriterion("tagImageUrl between", value1, value2, "tagimageurl");
            return (Criteria) this;
        }

        public Criteria andTagimageurlNotBetween(String value1, String value2) {
            addCriterion("tagImageUrl not between", value1, value2, "tagimageurl");
            return (Criteria) this;
        }

        public Criteria andTagindexdescriptionIsNull() {
            addCriterion("tagIndexDescription is null");
            return (Criteria) this;
        }

        public Criteria andTagindexdescriptionIsNotNull() {
            addCriterion("tagIndexDescription is not null");
            return (Criteria) this;
        }

        public Criteria andTagindexdescriptionEqualTo(String value) {
            addCriterion("tagIndexDescription =", value, "tagindexdescription");
            return (Criteria) this;
        }

        public Criteria andTagindexdescriptionNotEqualTo(String value) {
            addCriterion("tagIndexDescription <>", value, "tagindexdescription");
            return (Criteria) this;
        }

        public Criteria andTagindexdescriptionGreaterThan(String value) {
            addCriterion("tagIndexDescription >", value, "tagindexdescription");
            return (Criteria) this;
        }

        public Criteria andTagindexdescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("tagIndexDescription >=", value, "tagindexdescription");
            return (Criteria) this;
        }

        public Criteria andTagindexdescriptionLessThan(String value) {
            addCriterion("tagIndexDescription <", value, "tagindexdescription");
            return (Criteria) this;
        }

        public Criteria andTagindexdescriptionLessThanOrEqualTo(String value) {
            addCriterion("tagIndexDescription <=", value, "tagindexdescription");
            return (Criteria) this;
        }

        public Criteria andTagindexdescriptionLike(String value) {
            addCriterion("tagIndexDescription like", value, "tagindexdescription");
            return (Criteria) this;
        }

        public Criteria andTagindexdescriptionNotLike(String value) {
            addCriterion("tagIndexDescription not like", value, "tagindexdescription");
            return (Criteria) this;
        }

        public Criteria andTagindexdescriptionIn(List<String> values) {
            addCriterion("tagIndexDescription in", values, "tagindexdescription");
            return (Criteria) this;
        }

        public Criteria andTagindexdescriptionNotIn(List<String> values) {
            addCriterion("tagIndexDescription not in", values, "tagindexdescription");
            return (Criteria) this;
        }

        public Criteria andTagindexdescriptionBetween(String value1, String value2) {
            addCriterion("tagIndexDescription between", value1, value2, "tagindexdescription");
            return (Criteria) this;
        }

        public Criteria andTagindexdescriptionNotBetween(String value1, String value2) {
            addCriterion("tagIndexDescription not between", value1, value2, "tagindexdescription");
            return (Criteria) this;
        }

        public Criteria andTagdescriptionIsNull() {
            addCriterion("tagDescription is null");
            return (Criteria) this;
        }

        public Criteria andTagdescriptionIsNotNull() {
            addCriterion("tagDescription is not null");
            return (Criteria) this;
        }

        public Criteria andTagdescriptionEqualTo(String value) {
            addCriterion("tagDescription =", value, "tagdescription");
            return (Criteria) this;
        }

        public Criteria andTagdescriptionNotEqualTo(String value) {
            addCriterion("tagDescription <>", value, "tagdescription");
            return (Criteria) this;
        }

        public Criteria andTagdescriptionGreaterThan(String value) {
            addCriterion("tagDescription >", value, "tagdescription");
            return (Criteria) this;
        }

        public Criteria andTagdescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("tagDescription >=", value, "tagdescription");
            return (Criteria) this;
        }

        public Criteria andTagdescriptionLessThan(String value) {
            addCriterion("tagDescription <", value, "tagdescription");
            return (Criteria) this;
        }

        public Criteria andTagdescriptionLessThanOrEqualTo(String value) {
            addCriterion("tagDescription <=", value, "tagdescription");
            return (Criteria) this;
        }

        public Criteria andTagdescriptionLike(String value) {
            addCriterion("tagDescription like", value, "tagdescription");
            return (Criteria) this;
        }

        public Criteria andTagdescriptionNotLike(String value) {
            addCriterion("tagDescription not like", value, "tagdescription");
            return (Criteria) this;
        }

        public Criteria andTagdescriptionIn(List<String> values) {
            addCriterion("tagDescription in", values, "tagdescription");
            return (Criteria) this;
        }

        public Criteria andTagdescriptionNotIn(List<String> values) {
            addCriterion("tagDescription not in", values, "tagdescription");
            return (Criteria) this;
        }

        public Criteria andTagdescriptionBetween(String value1, String value2) {
            addCriterion("tagDescription between", value1, value2, "tagdescription");
            return (Criteria) this;
        }

        public Criteria andTagdescriptionNotBetween(String value1, String value2) {
            addCriterion("tagDescription not between", value1, value2, "tagdescription");
            return (Criteria) this;
        }

        public Criteria andTagtypeIsNull() {
            addCriterion("tagType is null");
            return (Criteria) this;
        }

        public Criteria andTagtypeIsNotNull() {
            addCriterion("tagType is not null");
            return (Criteria) this;
        }

        public Criteria andTagtypeEqualTo(String value) {
            addCriterion("tagType =", value, "tagtype");
            return (Criteria) this;
        }

        public Criteria andTagtypeNotEqualTo(String value) {
            addCriterion("tagType <>", value, "tagtype");
            return (Criteria) this;
        }

        public Criteria andTagtypeGreaterThan(String value) {
            addCriterion("tagType >", value, "tagtype");
            return (Criteria) this;
        }

        public Criteria andTagtypeGreaterThanOrEqualTo(String value) {
            addCriterion("tagType >=", value, "tagtype");
            return (Criteria) this;
        }

        public Criteria andTagtypeLessThan(String value) {
            addCriterion("tagType <", value, "tagtype");
            return (Criteria) this;
        }

        public Criteria andTagtypeLessThanOrEqualTo(String value) {
            addCriterion("tagType <=", value, "tagtype");
            return (Criteria) this;
        }

        public Criteria andTagtypeLike(String value) {
            addCriterion("tagType like", value, "tagtype");
            return (Criteria) this;
        }

        public Criteria andTagtypeNotLike(String value) {
            addCriterion("tagType not like", value, "tagtype");
            return (Criteria) this;
        }

        public Criteria andTagtypeIn(List<String> values) {
            addCriterion("tagType in", values, "tagtype");
            return (Criteria) this;
        }

        public Criteria andTagtypeNotIn(List<String> values) {
            addCriterion("tagType not in", values, "tagtype");
            return (Criteria) this;
        }

        public Criteria andTagtypeBetween(String value1, String value2) {
            addCriterion("tagType between", value1, value2, "tagtype");
            return (Criteria) this;
        }

        public Criteria andTagtypeNotBetween(String value1, String value2) {
            addCriterion("tagType not between", value1, value2, "tagtype");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeIsNull() {
            addCriterion("Created_STime is null");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeIsNotNull() {
            addCriterion("Created_STime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeEqualTo(Date value) {
            addCriterion("Created_STime =", value, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeNotEqualTo(Date value) {
            addCriterion("Created_STime <>", value, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeGreaterThan(Date value) {
            addCriterion("Created_STime >", value, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeGreaterThanOrEqualTo(Date value) {
            addCriterion("Created_STime >=", value, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeLessThan(Date value) {
            addCriterion("Created_STime <", value, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeLessThanOrEqualTo(Date value) {
            addCriterion("Created_STime <=", value, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeIn(List<Date> values) {
            addCriterion("Created_STime in", values, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeNotIn(List<Date> values) {
            addCriterion("Created_STime not in", values, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeBetween(Date value1, Date value2) {
            addCriterion("Created_STime between", value1, value2, "createdStime");
            return (Criteria) this;
        }

        public Criteria andCreatedStimeNotBetween(Date value1, Date value2) {
            addCriterion("Created_STime not between", value1, value2, "createdStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeIsNull() {
            addCriterion("Modified_STime is null");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeIsNotNull() {
            addCriterion("Modified_STime is not null");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeEqualTo(Date value) {
            addCriterion("Modified_STime =", value, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeNotEqualTo(Date value) {
            addCriterion("Modified_STime <>", value, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeGreaterThan(Date value) {
            addCriterion("Modified_STime >", value, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeGreaterThanOrEqualTo(Date value) {
            addCriterion("Modified_STime >=", value, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeLessThan(Date value) {
            addCriterion("Modified_STime <", value, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeLessThanOrEqualTo(Date value) {
            addCriterion("Modified_STime <=", value, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeIn(List<Date> values) {
            addCriterion("Modified_STime in", values, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeNotIn(List<Date> values) {
            addCriterion("Modified_STime not in", values, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeBetween(Date value1, Date value2) {
            addCriterion("Modified_STime between", value1, value2, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andModifiedStimeNotBetween(Date value1, Date value2) {
            addCriterion("Modified_STime not between", value1, value2, "modifiedStime");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNull() {
            addCriterion("is_del is null");
            return (Criteria) this;
        }

        public Criteria andIsDelIsNotNull() {
            addCriterion("is_del is not null");
            return (Criteria) this;
        }

        public Criteria andIsDelEqualTo(Integer value) {
            addCriterion("is_del =", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotEqualTo(Integer value) {
            addCriterion("is_del <>", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThan(Integer value) {
            addCriterion("is_del >", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelGreaterThanOrEqualTo(Integer value) {
            addCriterion("is_del >=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThan(Integer value) {
            addCriterion("is_del <", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelLessThanOrEqualTo(Integer value) {
            addCriterion("is_del <=", value, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelIn(List<Integer> values) {
            addCriterion("is_del in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotIn(List<Integer> values) {
            addCriterion("is_del not in", values, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelBetween(Integer value1, Integer value2) {
            addCriterion("is_del between", value1, value2, "isDel");
            return (Criteria) this;
        }

        public Criteria andIsDelNotBetween(Integer value1, Integer value2) {
            addCriterion("is_del not between", value1, value2, "isDel");
            return (Criteria) this;
        }

        public Criteria andOilidIsNull() {
            addCriterion("oilId is null");
            return (Criteria) this;
        }

        public Criteria andOilidIsNotNull() {
            addCriterion("oilId is not null");
            return (Criteria) this;
        }

        public Criteria andOilidEqualTo(Integer value) {
            addCriterion("oilId =", value, "oilid");
            return (Criteria) this;
        }

        public Criteria andOilidNotEqualTo(Integer value) {
            addCriterion("oilId <>", value, "oilid");
            return (Criteria) this;
        }

        public Criteria andOilidGreaterThan(Integer value) {
            addCriterion("oilId >", value, "oilid");
            return (Criteria) this;
        }

        public Criteria andOilidGreaterThanOrEqualTo(Integer value) {
            addCriterion("oilId >=", value, "oilid");
            return (Criteria) this;
        }

        public Criteria andOilidLessThan(Integer value) {
            addCriterion("oilId <", value, "oilid");
            return (Criteria) this;
        }

        public Criteria andOilidLessThanOrEqualTo(Integer value) {
            addCriterion("oilId <=", value, "oilid");
            return (Criteria) this;
        }

        public Criteria andOilidIn(List<Integer> values) {
            addCriterion("oilId in", values, "oilid");
            return (Criteria) this;
        }

        public Criteria andOilidNotIn(List<Integer> values) {
            addCriterion("oilId not in", values, "oilid");
            return (Criteria) this;
        }

        public Criteria andOilidBetween(Integer value1, Integer value2) {
            addCriterion("oilId between", value1, value2, "oilid");
            return (Criteria) this;
        }

        public Criteria andOilidNotBetween(Integer value1, Integer value2) {
            addCriterion("oilId not between", value1, value2, "oilid");
            return (Criteria) this;
        }

        public Criteria andTagnameLikeInsensitive(String value) {
            addCriterion("upper(tagName) like", value.toUpperCase(), "tagname");
            return (Criteria) this;
        }

        public Criteria andTagimageurlLikeInsensitive(String value) {
            addCriterion("upper(tagImageUrl) like", value.toUpperCase(), "tagimageurl");
            return (Criteria) this;
        }

        public Criteria andTagindexdescriptionLikeInsensitive(String value) {
            addCriterion("upper(tagIndexDescription) like", value.toUpperCase(), "tagindexdescription");
            return (Criteria) this;
        }

        public Criteria andTagdescriptionLikeInsensitive(String value) {
            addCriterion("upper(tagDescription) like", value.toUpperCase(), "tagdescription");
            return (Criteria) this;
        }

        public Criteria andTagtypeLikeInsensitive(String value) {
            addCriterion("upper(tagType) like", value.toUpperCase(), "tagtype");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}